//
//  UUWalletRecordRequestModel.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 05/02/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UUWalletRecordRequestModel.h"
#import "UUWalletRecordModel.h"

@implementation UUWalletRecordRequestModel

- (NSString *)url {
    return @"withdraws";
}

- (DKHTTPMethod)HTTPMethod {
    return DKHTTPMethodGet;
}

- (Class)responseModelClass {
    return [UUWalletRecordResponseModel class];
}

@end

@implementation UUWalletRecordResponseModel

- (Class)classAtInsideOfObjectWithProperty:(NSString *)propertyName {
    if (propertyName == nil) {
        return [UUWalletRecordModel class];
    } else {
        return [super classAtInsideOfObjectWithProperty:propertyName];
    }
}

@end
